<?php

return [
  "canal" => [
    'address' => '127.0.0.1',
    'port' => 11111,
    // 默认 "example", ".*\\..*"
    'instance' => [
      'client_id' => 1002,
      'name' => 'yopurmaqInformation',
      'filter' => [
        'regex' => 'yopurmaq.information_\d+' 
      ]
    ]
  ],

  'elasticsearch' => [
    'hosts' => [ 'http://elastic:Almas123@172.17.83.42:9200' ]
  ],

  'sleeptime' => 3,

  'database' => [
    'dsn' => 'mysql:host=rm-2zejenr27d964965c.mysql.rds.aliyuncs.com;port=3306;dbname=yopurmaq',
    'user' => 'canal',
    'password' => 'Almas123'
  ]

];
